import React from 'react'
import { Provider } from 'react-redux';
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import ReactDOM from 'react-dom/client'
import { Router,  Route, Navigation, BrowserRouter ,HashRouter,   } from 'react-router-dom';
import {composeWithDevTools} from 'redux-devtools-extension'
import { connect, MapStateToProps ,useDispatch} from "react-redux";
// import { useHistory} from 'react-router-dom';
 

import App from './App.tsx'
import Root from "./root/root.tsx"
import VtkApp from "./pages/myvtkjs.jsx"
import './index.css'
import TexturePoint from "./components/mygl/TexturePoint.jsx"
// const store = createStore(compose(applyMiddleware( thunk,  ))}
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <React.StrictMode>
    {/* <Root /> */}
    <TexturePoint />
    {/* <VtkApp /> */}
  </React.StrictMode>,
)
